#pragma once

#include "WTSXSipService/SipWTSXServiceItf.hpp"

using namespace wtsxsip;

class CSipSXServiceListener: public ISipSXServiceListener
{
public:

    CSipSXServiceListener(CResipTesterDlg& dlg);

    ~CSipSXServiceListener(void);

    virtual bool onRequest(ISipDlgSessionBase& dSession, ISipTranSession& tSession, 
        const SHeaders& headers, const SMsgBodyBase& body);

    virtual bool onRequest(ISipTranSession& tSession, const SHeaders& headers, 
        const SMsgBodyBase& body);

    virtual bool onDestroy();

private:

    CResipTesterDlg& m_dlg;
};
